package com.bb.blog.security.dao;

import com.bb.blog.security.model.User;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

public interface UserMapper extends BaseMapper<User> {
    User selectById(@Param("id") Integer id);

    User selectByUsername(@Param("username") String username);

}
